﻿using AgileBoard.Demo;
using AgileBoard.Dtos;

namespace AgileBoard.Web.Controllers
{
    public class DemoData
    {
        public static AllManagerFactory ManagerFactory
        {
            get
            {
                var manager = new AllManagerFactory
                                  {
                                      UserManager = new FakeUserManager(FakeUserData.CreateTestUsers()),
                                      ProjectManager = new FakeProjectManager(
                                          FakeProjectData.CreateTestProjects()
                                          ),
                                      RoleManager = new FakeRoleManager(
                                          FakeRoleData.CreateTestRoles()
                                          ),
                                      ActualsManager = new FakeActualManager(
                                          FakeActualData.CreateTestActual()
                                          ),
                                      FeatureManager = new FakeFeatureManager(
                                          FakeFeatureData.CreateTestFeatures()
                                          ),
                                      FeelingManager = new FakeFeelingsManager(
                                          FakeFeelingsData.CreateTestFeelingss()
                                          ),
                                      IterationManager = new FakeIterationManager(
                                          FakeIterationData.CreateTestIterations()
                                          ),
                                      LabelManager = new FakeLabelManager(
                                          FakeLabelData.CreateDemoLabels()
                                          ),
                                      ReleaseManager = new FakeReleaseManager(
                                          FakeReleaseData.CreateTestReleases()
                                          ),
                                      StatusManager = new FakeStatusManager(
                                          FakeStatusData.CreateTestStatuss()
                                          ),
                                      StoryManager = new FakeStoryManager(
                                          FakeStoryData.CreateTestStorys()
                                          ),
                                      TaskManager = new FakeTaskManager(
                                          FakeTaskData.CreateTestTasks()
                                          )
                                  };

                return manager;
            }
        }
    }
}